<!-- START OF Drop Down DHTML --> <!-- SUMMARY BRIEFS This DHTML will create a drop down link box out of an ordinary link. VERY COOL!!!! The top portion of this goes above the <BODY> tag. The second portion goes where you want the drop down link box to be. --> <style> <!-- #wrapper{ position:relative; height:30px } #wrapper2{ position:absolute } #coffeemenu03{ filter:revealTrans(Duration=1.5,Transition=12) visibility:hide } --> </style></HEAD> <BODY> <ilayer id="coffeemenu01" height=35px> <layer id="coffeemenu02" visibility=show> <span id="wrapper"> <span id="wrapper2" onClick="dropit2();event.cancelBubble=true;return false"> <font face="Verdana"><b><a href="java:if(confirm("http://www.msaeed.250free.com/notthisbrowser.html \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found. \n\nDo you want to open it from the server?"))window.location="http://www.msaeed.250free.com/notthisbrowser.html"" tppabs="http://www.msaeed.250free.com/notthisbrowser.html">Click Here To Navigate</a></b></font> </span> </span> </layer> </ilayer> < language="Java1.2"> var enableeffect=true var selection=new Array() selection[0]="<font face="ARIAL BLACK"><a href="http://www.msaeed.250free.com">Order Our Stuff</a><br>" selection[1]="<a href="http://www.msaeed.250free.com">Contact Us via E-mail</a><br>" selection[2]="<a href="http://www.msaeed.250free.com">Help With Our Items</a><br>" selection[3]="<a href="http://www.msaeed.250free.com">Products We Have</a><br>" selection[4]="<a href="http://www.msaeed.250free.com">Services We Offer</a><br></font>" if (document.layers) document.coffeemenu01.document.coffeemenu02.visibility="show" function dropit2(){ if (document.all){ coffeemenu03.style.left=document.body.scrollLeft+event.clientX-event.offsetX coffeemenu03.style.top=document.body.scrollTop+event.clientY-event.offsetY+18 if (coffeemenu03.style.visibility=="hidden"){ if (enableeffect) coffeemenu03.filters.revealTrans.apply() coffeemenu03.style.visibility="visible" if (enableeffect) coffeemenu03.filters.revealTrans.play() } else{ hidemenu() } } } function dropit(e){ if (document.coffeemenu03.visibility=="hide") document.coffeemenu03.visibility="show" else document.coffeemenu03.visibility="hide" document.coffeemenu03.left=e.pageX-e.layerX document.coffeemenu03.top=e.pageY-e.layerY+19 return false } function hidemenu(){ if (enableeffect) coffeemenu03.filters.revealTrans.stop() coffeemenu03.style.visibility="hidden" } function hidemenu2(){ document.coffeemenu03.visibility="hide" } if (document.layers){ document.coffeemenu01.document.coffeemenu02.captureEvents(Event.CLICK) document.coffeemenu01.document.coffeemenu02.onclick=dropit } else if (document.all) document.body.onclick=hidemenu </> <div id="coffeemenu03" style="position:absolute;left:0;top:0;layer-background-color:#C0C0C0;background-color:#C0C0C0;width:200;visibility:hidden;border:2px solid black;padding:0px"> < language="Java1.2"> if (document.all) coffeemenu03.style.padding="4px" for (i=0;i<selection.length;i++) document.write(selection[i]) </> </div> < language="Java1.2"> if (document.layers){ document.coffeemenu03.captureEvents(Event.CLICK) document.coffeemenu03.onclick=hidemenu2 } </> <!-- END OF Drop Down DHTML -->
کد نمایش پیام به صورت افکت1
<!-- START OF Message Reader DHTML --> <!-- SUMMARY BRIEFS This DHTML will cycle through 4 different text links. You can adjust the text and links below to meet your webpage. IMPORTANT Make suer that this body tag is included in your webpage. It activates the Message Reader. --> <body onload="if (document.all||document.layers) {regenerate2();update()}"> <style> <!-- #msgline{ position:relative; layer-background-color:black; width:400; height:12; } #msgtext{ background-color:black; position:absolute; border: 1px solid black; width:400; height:12; } .msgtextfont{ font:bold 16px Arial; postition:absolute; left:5px; text-decoration:none; color:white; } .msgtextfont a{ color:white; text-decoration:none; } --> </style> <div id="msgline"> <div id="msgtext" class="msgtextfont">Starting Messages...</div> </div> < language="Java1.2"> var speed=4000 var news=new Array() news[0]="<a href="http://www.msaeed.250free.com">First line of text....</a>" news[1]="<a href="http://www.msaeed.250free.com">Second line of text....</a>" news[2]="<a href="http://www.msaeed.250free.com">Third line of text....</a>" news[3]="<a href="http://www.msaeed.250free.com">Add as many as you want....</a>" i=0 if (document.all) ticker=document.all.msgtext.style else ticker=document.msgline.document function regenerate(){ window.location.reload() } function regenerate2(){ if (document.layers) setTimeout("window.onresize=regenerate",450) } function update(){ BgFade(0xff,0xff,0xff, 0x00,0x00,0x00,10); if (document.layers){ document.msgline.document.msgtext.document.write("<span class="msgtextfont">"+news[i]+"</span>") document.msgline.document.msgtext.document.close() } else document.all.msgtext.innerHTML=news[i] if (i<news.length-1) i++ else i=0 setTimeout("update()",speed) } function BgFade(red1, grn1, blu1, red2, grn2, blu2, steps) { sred = red1; sgrn = grn1; sblu = blu1; ered = red2; egrn = grn2; eblu = blu2; inc = steps; step = 0; MsgDither(); } function MsgDither() { var epct = step/inc; var spct = 1 - epct; if (document.layers) ticker.bgColor = Math.floor(sred * spct + ered * epct)*256*256 + Math.floor(sgrn * spct + egrn * epct)*256 + Math.floor(sblu * spct + eblu * epct); else ticker.backgroundColor= Math.floor(sred * spct + ered * epct)*256*256 + Math.floor(sgrn * spct + egrn * epct)*256 + Math.floor(sblu * spct + eblu * epct); if ( step < inc ) { setTimeout("MsgDither()",50); } step++; } </> <!-- END OF Message Reader DHTML -->
کد نمایش متن به صورت افکت2
<!-- START OF Zoom Message DHTML --> <!-- SUMMARY BRIEFS This example shows how you can create a webpage that displays lines of text that appear to be flying out of the webpage. Our example has an image. IMPORTANT The image used in this example can be found in the CoffeeCup Software folder. You do not need an image for it to work. --> <!-- Style Sheet created with the CoffeeCup StyleSheet Maker++ --> <!-- http://www.msaeed.250free.com --> <style type="text/css"> body { background-color:#FFFFFF; font-family: Arial; font-size:10pt; } </style> <> //<!--Change this text--> text=new Array("www.",msaeed",".250free",".com","The Best Website") //<!--This is the number of words in your message--> var numText=5 //<!--These are the colors the last word will fade to. The first color is the main color.--> color=new Array("#000000","#2F2F2F","#4F4F4F","#7F7F7F","#408080") //<!--This is the total number of colors from above.--> var numColors=5 //<!--This is the size you want the zoom to end at.--> var endSize=70 //<!--This is the speed you want it to zoom in.--> var Zspeed=30 //<!--This is the speed the colors will fade.--> var Cspeed=200 //<!--This is the font of the fade in message.--> var font="Arial Black" //<!--This will allow you to have the message stay or go. True will make it go. // False will make it stay.--> var hide=false var size=10 var gonum=0 var ie, n; if (document.all) { n=0 ie=1 zoomText="document.all.zoom.innerText=text[num]" zoomSize="document.all.zoom.style.fontSize=size" closeIt="" fadeColor="document.all.zoom.style.color=color[num]" } if (document.layers) { n=1;ie=0 zoomText="" zoomSize="document.zoom.document.write("<p align=\"center\" style=\"font-family:"+font+"; font-size:"+size+"px; color:"+color[0]+"\">"+text[num]+"</p>")" closeIt="document.zoom.document.close()" fadeColor="document.zoom.document.write("<p align=\"center\" style=\"font-family:"+font+"; font-size:"+endSize+"px; color:"+color[num]+"\">"+text[numText-1]+"</p>")" } function zoom(num,fn){ if (size<endSize){ (zoomText) (zoomSize) (closeIt) size+=5; setTimeout("zoom("+num+",""+fn+"")",Zspeed) }else{ (fn); } } function fadeIt(num){ if (num<numColors){ (fadeColor) (closeIt) num+=1; setTimeout("fadeIt("+num+")",Cspeed) }else{ hideIt() } } function hideIt(){ if(hide){ if(ie)document.all.zoom.style.visibility="hidden" if(n)document.layers.zoom.visibility="hidden" } } function init(){ if(ie){ document.all.zoom.style.color=color[0] document.all.zoom.style.fontFamily=font } if(ie || n) go(0) } function go(num){ gonum+=1 size=10 if(num<numText){ zoom(num,"go("+gonum+")") }else{ fadeIt(0) } } </> </head> <body onload="init()" bgcolor="FFFFFF"> <CENTER> </CENTER><P> <div id="zoom" align="center" style="position:absolute; top:150"> </DIV> <!-- END OF Zoom Message DHTML -->
کد اضافه کردن صفحه به بوکمارک
<!-- START OF Add Bookmark in IE DHTML --> <!-- SUMMARY BRIEF This code will allow you to put a link on your page that, when clicked, will add a URL to the user"s Favorites. NOTE: This will only work for IE users. It will NOT work for users using Netscape. You can change the bookmark link and text in the var bookmarkurl and var bookmarktitle attributes below. You can change the text of the actual link in the <A HREF> code that you will place for your link to appear in your page. It is located at the bottom of this page. --> <!-- Put this code inside of your <HEAD> tag. --> < language="Java1.2"> <!-- var bookmarkurl="http://www.msaeed.250free.com/" var bookmarktitle="-=[ Webloger Web Site ]=-" function ccaddbookmark() { if (document.all) window.external.AddFavorite(bookmarkurl,bookmarktitle) } //--> </> <!-- Put this code into your page wherever you want the link to be. --> <a href="java:ccaddbookmark()" target="_self"> <font size="1" face="Arial">[ Add Webloger to your Favorites ]</font> </a> <!-- END OF Add Bookmark in IE DHTML -->
کد اتوماتیک صفحه را ماکزیمم می کند
<!-- START OF Window Auto Maximize DHTML --> <!-- SUMMARY BRIEF This code will automatically maximize the browser window when the page is loaded. --> <!-- Put this code inside of your <HEAD> tag. --> < language="Java1.2"> <!-- top.window.moveTo(0,0); if (document.all) { top.window.resizeTo(screen.availWidth,screen.availHeight); } else if (document.layers||document.getElementById) { if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){ top.window.outerHeight = screen.availHeight; top.window.outerWidth = screen.availWidth; } } //--> </> <!-- END OF Window Auto Maximize DHTML -->
.::مرجع کد آهنگ::. .::دریافت کد موزیک::.